package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Button;

public interface ButtonMapper {

	public int deleteButtonById(long id);

	public Button selectButtonById(long id);

	public List<Button> selectButtonByMap(Map<String,Object> map);

	public List<Button> selectButton(Button button);

	public List<Button> selectAllButton();

	public int insertButton(Button button);

	public int updateButton(Button button);

	public int deleteButton(Button button);

	public int updateButtonByMap(Map<String,Object> map);

	public int deleteButtonByMap(Map<String,Object> map);
	public int getAllButtonCounts();
	public int getButtonCounts(Button button);
	public int getButtonCountsByMap(Map<String,Object> map);
}
